<?php /* Smarty version 2.6.26, created on 2014-10-23 17:54:18
         compiled from header.html */ ?>
<div class="ibody">
  <header>
    <h1>如影随形</h1>
    <h2>影子是一个会撒谎的精灵，它在虚空中流浪和等待被发现之间;在存在与不存在之间....</h2>
    <div class="logo"><a href="index.php"></a></div>
    <nav id="topnav">
    <a href="index.php" id="">首页</a>
    <?php unset($this->_sections['cat']);
$this->_sections['cat']['loop'] = is_array($_loop=$this->_tpl_vars['CatName']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cat']['name'] = 'cat';
$this->_sections['cat']['show'] = true;
$this->_sections['cat']['max'] = $this->_sections['cat']['loop'];
$this->_sections['cat']['step'] = 1;
$this->_sections['cat']['start'] = $this->_sections['cat']['step'] > 0 ? 0 : $this->_sections['cat']['loop']-1;
if ($this->_sections['cat']['show']) {
    $this->_sections['cat']['total'] = $this->_sections['cat']['loop'];
    if ($this->_sections['cat']['total'] == 0)
        $this->_sections['cat']['show'] = false;
} else
    $this->_sections['cat']['total'] = 0;
if ($this->_sections['cat']['show']):

            for ($this->_sections['cat']['index'] = $this->_sections['cat']['start'], $this->_sections['cat']['iteration'] = 1;
                 $this->_sections['cat']['iteration'] <= $this->_sections['cat']['total'];
                 $this->_sections['cat']['index'] += $this->_sections['cat']['step'], $this->_sections['cat']['iteration']++):
$this->_sections['cat']['rownum'] = $this->_sections['cat']['iteration'];
$this->_sections['cat']['index_prev'] = $this->_sections['cat']['index'] - $this->_sections['cat']['step'];
$this->_sections['cat']['index_next'] = $this->_sections['cat']['index'] + $this->_sections['cat']['step'];
$this->_sections['cat']['first']      = ($this->_sections['cat']['iteration'] == 1);
$this->_sections['cat']['last']       = ($this->_sections['cat']['iteration'] == $this->_sections['cat']['total']);
?>
    <a href="index.php?m=Index&c=Index&a=newsList&cid=<?php echo $this->_tpl_vars['CatName'][$this->_sections['cat']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['CatName'][$this->_sections['cat']['index']]['catname']; ?>
</a>
    <?php endfor; endif; ?>
    </nav>
  </header>